package org.example.deep.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * @author jianxin.wei
 * @description
 * @date 2024/9/11 15:16
 */
@Data
@Entity
@Table(name = "ELEC_DEEP_FILE")
public class ElecDeepFile {
    @Id
    @Column(name = "ID", nullable = false)
    private Long id;

    @Column(name = "FILE_NAME")
    private String fileName;

    @Column(name = "SUFFIX")
    private String suffix;

    @Column(name = "FILE_DATA")
    private byte[] fileData;

    @Column(name = "CREATE_DATE")
    private LocalDateTime createDate;

    @Column(name = "FILE_TYPE")
    private Integer fileType;
}
